<div id="main">
	<div id="main_left" class="f_left">
		<div id="bread"><?php echo $bread_crumbs; ?></div>
		<div id="form">
			<form name="form" method="post">
				<ul>
					<li>标题：<span class="cl_red">*</span></li>
					<li><input type="text" v="re" name="title" size="40" /></li>
					<li>内容：<span class="cl_red">*</span></li>
					<li><textarea v="re" name="content"></textarea></li>
					<li>发布时间：<span class="cl_red">*</span></li>
					<li><input type="text" v="re" name="create_time" value="<?php echo date('Y-m-d H:i:s');?>" /></li>
					<input type="submit" value=" 发布文章 " class="martop10" />
				</ul>
			</form>
		</div>
		<script type="text/javascript">
			form    = document.forms['form'];
			element = form.elements;
			form.onsubmit = function()
			{
				for (i = 0; i <= element.length; i++) {
					if (element[i].value == '' && element[i].getAttribute('v') == 're') {
						element[i].style.border = '1px solid red';
						element[i].focus();
						return false;
					}
				}	
			}
		</script>
	</div>
	<div id="sidebar" class="f_left">
		{include file=block/sidebar_index}
	</div>
</div>